<?php
require_once('config.php');




if( $_POST["chooseRole"] == 2){
	redirect("$CFG->wwwroot/moodle/login/signup.php");
	//echo "role 1   ";
	}
	else{
	redirect("$CFG->wwwroot/moodle/index.php");
	//echo "role 2".$_POST["chooseRole"] ;
	}
	
	print_footer();
?>